<!DOCTYPE html>
<html lang="en">
<head>
    <include file="Public:header2" />
	<title>{:C('web_title')}</title>
    <script src="__PUBLIC__/Home/js/jquery.copy.js"></script>
    <script src="__PUBLIC__/Home/js/qrcode.js"></script>
    <style type="text/css">
        .texta{
            width:96%;height: 20px;font-size: 14px;padding:5px 2%;font-size: 14px;color:rgba(255,255,255,.5);background: rgba(0,0,0, .5);line-height: 20px;margin-top:5px;
        }
        .pp{
            font-size:13px;line-height:20px;color:#059ff5;
        }
    </style>
</head>
<body class="blackbg">
    <div id="container" class="logbg">
        <div class="log_title">
            <span class="back"><a href="javascript:history.go(-1)"></a></span>
            {$Think.lang.Finance_xnbcz}<!-- 虚拟币充值 -->/<if condition="LANG_SET eq 'en-us'">{$coin_info.js_yw}<else/>{$coin_info.title}</if>({$coin_info.name|strtoupper=###})
        </div>


        <style type="text/css">
            #codeaa>div{left: 0px!important;top: 0px!important;right: 0px!important;bottom: 0px!important;margin:0 auto!important;background: #fff;}
        </style>


        <div class="logbot">
            <div id="qrcode-wallet" style="display:block;margin:0 auto;margin-top: 15px;" width="100">
                <saon id="codeaa" style="display:block;margin:0 auto;"></saon>
               <p id="qrcode-t" style="font-size:13px;text-align: center;margin-top:15px;color:rgba(255,255,255,.5);"><if condition="LANG_SET eq 'en-us'">{$coin_info.js_yw}<else/>{$coin_info.title}</if>({$coin_info.name|strtoupper=###}){$Think.lang.Finance_qb3}<!-- 钱包地址 --></p>

            </div>
            <br/>

            <p class="pp"><if condition="LANG_SET eq 'en-us'">{$coin_info.js_yw}<else/>{$coin_info.title}</if>({$coin_info.name|strtoupper=###}) {$Think.lang.sTrade_index_ky}<!-- 可用 -->：</p>

            <div class="texta" style="height: 20px;">{$user_coin[$coin_info['name']]|NumTofour}</div>
            <br/><br/>
            <p class="pp">{$Think.lang.Finance_qb1}<!-- 这是您的钱包地址，请将您的 --> <if condition="LANG_SET eq 'en-us'">{$coin_info.js_yw}<else/>{$coin_info.title}</if>({$coin_info.name|strtoupper=###}) {$Think.lang.Finance_qb2}<!-- 充值此地址 --></p>

            <div class="texta">{$qianbao}</div>
            <br/><br/>
            <p class="pp">{$Think.lang.Finance_cz}</p>

            <div class="texta" style="height: 110px;">{$Think.lang.sFinance_myzr_czszdd} <if condition="LANG_SET eq 'en-us'">{$coin_info.js_yw}<else/>{$coin_info.title}</if>({$coin_info.name|strtoupper=###}) {$Think.lang.sFinance_myzr_zzxyzg}<if condition="LANG_SET eq 'en-us'">{$coin_info.js_yw}<else/>{$coin_info.title}</if>({$coin_info.name|strtoupper=###}){$Think.lang.sFinance_myzr_wlqrdd}  {$coin_info['zr_dz']} {$Think.lang.sFinance_myzr_gqrhnd}  <if condition="LANG_SET eq 'en-us'">{$coin_info.js_yw}<else/>{$coin_info.title}</if> {$Think.lang.sFinance_myzr_hzdczdndzhz}<br/> {$Think.lang.sFinance_myzr_cdzsnwyd}
            </div>

            <div id="qrcode-wallet" style="display:block;margin:0 auto;margin-top: 15px;" width="100">
                <p id="qrcode-t" style="font-size:14px;text-align: center;margin-top:15px;">
                    <a href="{:U('Finance/myzr_log',array('coin'=>$coin_info['name']))}" style="display:inline-block;width:100%;height:40px;border-radius: 2px;line-height: 40px;background: #135f91;color:#fff;">{$Think.lang.g_djckczjl}</a>
                </p>
            </div>

        </div>
    </div>

    <script type="text/javascript" src="__PUBLIC__/Home/js/jquery.qrcode.min.js"></script>

    <script type="text/javascript" >
       $('#codeaa').qrcode({
         render: "table", //table方式
         size:200,
         text: "{$qianbao}" //任意内容
       }); //任意字符串
    </script>

    <script type="text/javascript" src="__PUBLIC__/Home/js/ZeroClipboard.min.js"></script>
    <script>
        var client=new ZeroClipboard(document.getElementById("copy-button"));
        client.on("ready",function(readyEvent){
            client.on("aftercopy",function(event){
                event.target.style.display="none";
            });
        });
        ZeroClipboard.config({swfPath:'__PUBLIC__/Home/js/ZeroClipboard.swf'});
        var clip=new ZeroClipboard(document.getElementById("copy"));
        var _share_title=encodeURI('{$Think.lang.Finance_yqhy}');
        var _share_content=encodeURI("{$C['invit_text_txt']}");
        var _share_url=encodeURIComponent("http://{$_SERVER['HTTP_HOST']}/Login/register.html?invit={$user['id']}");
        var _share_pic='/';
        $(document).ready(function(){
            var clip1=new ZeroClipboard(document.getElementById("copy_button1"));
            var clip2=new ZeroClipboard(document.getElementById("copy_button2"));
            var clip3=new ZeroClipboard(document.getElementById("copy_button3"));
            clip1.on("copy",function(e){
                layer.msg('{$Think.lang.Finance_copyok}',{icon:1});
            });
            clip2.on("copy",function(e){
                layer.msg('{$Think.lang.Finance_copyok}',{icon:1});
            });
            clip3.on("copy",function(e){
                layer.msg('{$Think.lang.Finance_copyok}',{icon:1});
            });
            $(".wlb_tsina").click(function(){
                window.open("http://v.t.sina.com.cn/share/share.php?url="+_share_url+"&title="+_share_content);
            });
            $(".wlb_douban").click(function(){
                window.open("http://www.douban.com/recommend/?url="+_share_url+"&title="+_share_content);
            });
            $(".wlb_qzone").click(function(){
                window.open("http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url="+_share_url+"&title="+_share_title+"&pics="+_share_pic+"&desc="+_share_content);
            });
        });
    </script>
<include file="Public:footer" />
</body>
</html>